package org.gcu.filestorage.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.*;

/**
 * 对应数据表 account_info
 */

@ToString
@AllArgsConstructor
@RequiredArgsConstructor
@Data
@TableName("account_info")
public class AccountInfo {
    @TableField(exist = false)
    private int id; // 不需要手动插入, 加入数据库时自增长
    private String account;
    @JsonIgnore
    private String password;
    private String realName;
    private int gender;
    private String department;
    private String employeeId;
    private String phoneNo;
    private String email;
    private String avatarUrl;
    private int registerStatus;
    private long registerTime;
    private long approvalTime;
    private int accountRole;
}
